package com.itheima.domain.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * 员工工作经历
 * @Author:篍
 * @Date: 2025/07/12 8:49
 * @Description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class EmpExpr {
    private Integer id;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate begin;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate end;
    private String company;
    private String job;
    Integer empId;
}
